{% extends "base.html" %}
 {% block content %}
 <script type="text/javascript">
	var myCalendar;
	function doOnLoad() {
		myCalendar = new dhtmlXCalendarObject([ "id_start_date", "id_end_date" ]);
		myCalendar.loadUserLanguage('cn');
	}
</script>
<h1>{% if '/admin/holiday/create' in full_path %}创建{% else %}编辑{%endif%}节假日</h1>
<div class="pageContent">
	<form action="" method="post">
			{% csrf_token %} 
			{{ form.as_p }}
			<input name="submit" type="submit" value="确定"/>
	</form>
</div>

{% endblock %}
